﻿using System.Text.Json.Serialization;

namespace WebAppIdentity.Response
{
	public class TokenResponse
	{
		[JsonPropertyName("access_token")]
		public string? AccessToken { get; set; }

		[JsonPropertyName("token_type")]
		public string? TokenType { get; set; }
		[JsonPropertyName("expires_in")]
		public int ExpiresIn { get; set; }  // add

		[JsonPropertyName("refresh_token")]
		public string? RefreshToken { get; set; } // add
	}
}
